 <!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/index.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/shoppingcart/shoppincart.css"/>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/content/content.css"/>
		<script src="./Public/Home/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/content/count.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/content/js.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/JS.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/index.js" type="text/javascript" charset="utf-8"></script>
		<script src="./Public/Home/js/content/area.js" type="text/javascript" charset="utf-8"></script>
						<style type="text/css">
						.buy_area ul{
							margin-top: 10px;
						}
						.buy_area ul li{
							 margin-top: 10px;
						}
						.buy_area ul li span{
							font-size:12px;
							color: #999;
						}
						.buy_area li a{
				            border: 1px solid #999;
				            padding: 0 5px;
				        }
						.buy_area li a.red{
				            border: 1px solid red;
				        }
					</style>
		<script type="text/javascript">
        $(function () {
            $('.color_size_wrap a').click(function () {
                $(this).addClass('red').siblings().removeClass('red');
                //li标签的个数,也就是多少种属性
                var liLen = $('.color_size_wrap li').length;
                //选中的元素的个数
                var redLen = $('.red').length;
//              alert(liLen);
//              alert(redLen);
                if(liLen == redLen){
                    var combine = '';
                    var en = {};
                    //得到所有选中的商品属性id,然后发异步到货品列表查询,最后获得结果
                    $.each($('.red'),function(){
                        combine += $(this).attr('specId') + ',';
                    })
                    combine = combine.substring(0,combine.length-1);
                    en.aid = <?php echo $_GET['aid']?>;
                    en.combine = combine;
//                  alert(str);
                    $.ajax({
                    	type:"post",
                    	url:"<?php echo U('Content/getAttr')?>",
                    	data:{en},
                    	//确定返回的数据类型
                    	dataType:'json',
                    	success:function(phpData){
                    		if(phpData ==0){
                    			alert('该商品已售完');
                    		}
                    	}
                    });
                }
            })
            //选择规格
            $(".sl").click(function(){
				var val = $(this).html();
				var str = '';
				$.each($(".red"), function() {
					str = str + $(this).html() + '/';
				});
				str = str.substring(0,str.length-1);
//								alert(str);
				$(".itemMessage").html('已选择:'+str);
			})
        })
    </script>
 
	</head>
	<body>
		
	<!--公共头部-->
	<input type="hidden" name="aid" id="aid" value="<?php echo $_GET['aid']?>" />
		
		<!--灰色区块-->
		<div id="heard_top">
			<div class="heard_body">
				
				<div class="heard_body_right">
					<div class="ddnewhead_welcome">
						<span class="welcome">欢迎光临当当,</span>
												                
							请<a target="_blank" href="http://localhost/git.shop/shop/index.php?m=Home&c=Login&a=index" class="denglu">登录</a>
							<a target="_blank" href="http://localhost/git.shop/shop/index.php?m=Home&c=Member&a=reg">成为会员</a>
						
               					</div>
					<ul class="ddnewhead_operate_nav">
						<li>
															<a href="http://localhost/git.shop/shop/index.php?m=Home&c=Cart&a=index" class="cart">购物车</a>
							
               							
						</li>
						<li>
															<a href="http://localhost/git.shop/shop/index.php?m=Home&c=Login&a=index">我的订单</a>	
							
               


						</li>
							</ul>
						</li>
				</ul>
				</div>
			</div>
		</div>
		<!--灰色区块结束-->
		<!--logo搜索区块-->
		<div id="logo">
			<div class="logo-quk">
				<div class="logo_left">
					<a href="index.php"><img src="./Public/Home/images/0.gif"/></a>
				</div>
				<div class="logo_middle">
					<form action="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index" method="get">
						<input type="text" name="key" placeholder="温州特产善味阁鸭舌头 香辣酱鸭舌独立小包8~12g 零食" class="cl" style="visibility: visible";/>
						<div class="select"><span>全部分类</span></div>
						<input type="hidden" name="default_key" class="default_key" value="温州特产善味阁鸭舌头 香辣酱鸭舌独立小包8~12g 零食" />
						<script type="text/javascript">
							$(function(){
								$(".cl2").click(function(){
									var key =  $(".cl").val();
									var default_key = $(".default_key").val();
										if(key != ''){
											location.href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=search" + '&k=' + key;
										}else{
											location.href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=search" + '&k=' + default_key;
										}
								})
							})
						</script>
						<input type="button" class="cl2" value=""/>
						
					</form>
				</div>
				<div class="logo_right">
					<div class="logo_gouwu">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=Cart&a=index" class="cart">购物车</a>
						
               					</div>
					<div class="logo_dt">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=Login&a=index">我的订单</a>
						
               						
					</div>
				</div>
				
			</div>
		</div>
		<!--导航栏-->
		<div id="dh">
			<div class="dh_class">
				<div class="classify">
					<a href="index.php" class="dh_fl">全部商品分类</a>
					<ul class="box">
												<li class="menu_one">
							<a href="" class="oi">服装</a>
							<!--菜单栏里面的子菜单-->
								<div class="submenu">
									<div class="boxs">
										<div class="submenu_one">
											<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1">服装</a>
										</div>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1"><h4>女装</h4></a>
													<li >
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1">裙子</a>
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1">婚纱礼服</a>
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1">成熟女装</a>
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1">少淑装</a>
																											</li>
											</ul>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1"><h4>男装</h4></a>
													<li >
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1">T恤</a>
																											</li>
											</ul>
																			</div>
								</div>
							<!--菜单栏里面的子菜单结束-->
						</li>
												<li class="menu_one">
							<a href="" class="oi">电器城</a>
							<!--菜单栏里面的子菜单-->
								<div class="submenu">
									<div class="boxs">
										<div class="submenu_one">
											<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=2">电器城</a>
										</div>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=2"><h4>数码影音</h4></a>
													<li >
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=2">苹果/配件</a>
																											</li>
											</ul>
																			</div>
								</div>
							<!--菜单栏里面的子菜单结束-->
						</li>
												<li class="menu_one">
							<a href="" class="oi">地方特产</a>
							<!--菜单栏里面的子菜单-->
								<div class="submenu">
									<div class="boxs">
										<div class="submenu_one">
											<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">地方特产</a>
										</div>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16"><h4>进口食品</h4></a>
													<li >
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">饼干糕点</a>
																											</li>
											</ul>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16"><h4>休闲食品</h4></a>
													<li >
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">枣</a>
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">果脯</a>
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">坚果/炒货</a>
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">蜜饯</a>
																											</li>
											</ul>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16"><h4>地方特产</h4></a>
													<li >
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">西北</a>
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">华东</a>
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">茶/酒/糕点</a>
																											</li>
											</ul>
																			</div>
								</div>
							<!--菜单栏里面的子菜单结束-->
						</li>
												<li class="menu_one">
							<a href="" class="oi">图书</a>
							<!--菜单栏里面的子菜单-->
								<div class="submenu">
									<div class="boxs">
										<div class="submenu_one">
											<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=19">图书</a>
										</div>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=19"><h4>电子书热销类</h4></a>
													<li >
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=19">爱情/情感</a>
																											</li>
											</ul>
																			</div>
								</div>
							<!--菜单栏里面的子菜单结束-->
						</li>
												<li class="menu_one">
							<a href="" class="oi">创意文具</a>
							<!--菜单栏里面的子菜单-->
								<div class="submenu">
									<div class="boxs">
										<div class="submenu_one">
											<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=20">创意文具</a>
										</div>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=20"><h4>文化用品</h4></a>
													<li >
																													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=20">练字帖/练字板</a>
																											</li>
											</ul>
																			</div>
								</div>
							<!--菜单栏里面的子菜单结束-->
						</li>
												<li class="menu_one">
							<a href="" class="oi">户外运动</a>
							<!--菜单栏里面的子菜单-->
								<div class="submenu">
									<div class="boxs">
										<div class="submenu_one">
											<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=22">户外运动</a>
										</div>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=22"><h4>运动鞋</h4></a>
													<li >
																											</li>
											</ul>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=22"><h4>健身器械</h4></a>
													<li >
																											</li>
											</ul>
																			</div>
								</div>
							<!--菜单栏里面的子菜单结束-->
						</li>
												<li class="menu_one">
							<a href="" class="oi">家居</a>
							<!--菜单栏里面的子菜单-->
								<div class="submenu">
									<div class="boxs">
										<div class="submenu_one">
											<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=26">家居</a>
										</div>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=26"><h4>床品件套</h4></a>
													<li >
																											</li>
											</ul>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=26"><h4>蚊帐/凉席</h4></a>
													<li >
																											</li>
											</ul>
																			</div>
								</div>
							<!--菜单栏里面的子菜单结束-->
						</li>
												<li class="menu_one">
							<a href="" class="oi">当当自营</a>
							<!--菜单栏里面的子菜单-->
								<div class="submenu">
									<div class="boxs">
										<div class="submenu_one">
											<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=32">当当自营</a>
										</div>
																					<ul class="submenu_two">
													<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=32"><h4>休闲零食</h4></a>
													<li >
																											</li>
											</ul>
																			</div>
								</div>
							<!--菜单栏里面的子菜单结束-->
						</li>
						
					</ul>
				</div>
				
				<!--顶级分类-->
				<ul class="ban">
										<li class="children">
						<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=1">服装</a>
					</li>
										<li class="children">
						<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=2">电器城</a>
					</li>
										<li class="children">
						<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=16">地方特产</a>
					</li>
										<li class="children">
						<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=19">图书</a>
					</li>
										<li class="children">
						<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=20">创意文具</a>
					</li>
										<li class="children">
						<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=22">户外运动</a>
					</li>
										<li class="children">
						<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=26">家居</a>
					</li>
										<li class="children">
						<a href="http://localhost/git.shop/shop/index.php?m=Home&c=ListPage&a=index&cid=32">当当自营</a>
					</li>
									</ul>
			</div>
		</div>
		<!--导航栏结束-->	
		<!--详情页-->
		<div id="breadcrumb">
			<div class="main_bd">
				<!--<a href="" class="domain">电脑办公</a>
				>
				<a href="">电脑整机</a>-->
			</div>
			<div class="clearfix ">
				<!-- 放大镜 -->
				<div id="clearfix_box">
					<div class="pic">

							<img src="<?php echo $goodsData['images'][0][0]?>" id="min" class="min" />

						<b class="sekuai" id="sk"></b>
						<div class="cover"></div>
					</div>
					<div class="min_pic">
						<?php foreach ($goodsData['images'] as $v){?>
							<img _bigsrc="<?php echo $v[1]?>" src="<?php echo $v[0]?>"/>
						<?php }?>
					</div>
					<div class="large">
						<img src="<?php echo $goodsData['images'][0][1]?>" class="max" />
					</div>
				</div>
				<!-- 放大镜结束 -->
				<div class="show_info">
					<div class="phone_buy">
						<h2><?php echo $goodsData['shopname']?>
							<p><?php echo $goodsData['introduction']?></p>
						</h2>
						<div class="sale">
							<div class="ddprice">
								<div class="show_info_left">当当价</div>
								<div class="show_info_right">
									<b class="d_price ">¥<?php echo $goodsData['shopprice']?></b>
								</div>
								<?php if($goodsData['marketprice']!=0){?>
                
									<div class="show_info_left" style="margin-left: 10px;">[商城价]</div>
									<div class="show_info_right">
										<span style="text-decoration: line-through;color: #C4C4C4;font-size: 12px;">¥<?php echo $goodsData['marketprice']?></span>
									</div>
								
               <?php }?>
							</div>
							
							<div class="sale_fw">
								<div class="show_info_left">服务</div>
								<div class="show_info_right">由 “ <b><?php echo $brandData['bname']?></b> ” 发货，并提供售后服务。</div>
							</div>
							<div class="sale_fw">
								<div class="show_info_left">商品货号</div>
								<div class="show_info_right">NO.<?php echo $goodsData['gnumber']?></div>
							</div>
							<div class="sale_fw">
								<div class="show_info_left" style="margin-top: 15px;">品牌</div>
								<div class="show_info_right"><img style="width: 110px; height: 50px;" src="<?php echo $brandData['logo']?>"/></div>
							</div>
							
						</div>
					</div>
					<div class="buy_area">
						<div class="color_size_wrap">
							<ul>
								<?php foreach ($TypeAttrData as $v){?>
									<li>
							            <span><?php echo $v['taname']?></span>
										<?php foreach ($v['spec'] as $u){?>
							            	<a class="sl" href="JavaScript:void(0);" specId="<?php echo $u['gtid']?>"><?php echo $u['gtvalue']?></a>
										<?php }?>
							        </li>
								
								<?php }?>
						    </ul>
							
						</div>
					</div>
	
					<div class="sale_num">
						<div class="show_info_left">数量</div>
							<div class="show_info_right">
								<a href="javascript:;" class="sale_jian"></a>
								<input type="text" name="" class="inpt" value="1">
								<a href="javascript:;" class="sale_jia"></a>
								<span>件</span>
							</div>
					</div>
					<div class="itemMessage">

					</div>
					
					<div class="newpresale">
						<a href="JavaScript:;" class="phone_buy_button"></a>
						<a href="<?php echo U('Cart/index',["aid"=>Q('get.aid'),"bid"=>Q('get.bid'),'cid'=>$_GET['cid']])?>" class="buy_now_button"></a>
					</div>
				</div>
				
				
		<script type="text/javascript">
			$(".phone_buy_button").click(function(){
				
			var liLen = $('.color_size_wrap li').length;
            //选中的元素的个数
            var redLen = $('.red').length;
//              alert(liLen);
//              alert(redLen);
            if(liLen == redLen){
                var combine = '';
                var en = {};
                //得到所有选中的商品属性id,然后发异步到货品列表查询,最后获得结果
                $.each($('.red'),function(){
                    combine += $(this).siblings('span').html() + ':' + $(this).html() + ',';
                })
                //货品文字
                combine = combine.substring(0,combine.length-1);
                
                	//货品数字
                	var combines='';
					$.each($('.red'),function(){
                        combines += $(this).attr('specId') + ',';
                    })
                    combines = combines.substring(0,combines.length-1);
                    
				var data = {};
				data.title = "<?php echo $goodsData['shopname']?>";
				data.price = <?php echo $goodsData['shopprice']?>;
				data.val = $(".inpt").val();
				data.aid = <?php echo $_GET['aid']?>;
				data.combine = combine;
				data.combineNum = combines;
				data.bname = "<?php echo $brandData['bname']?>";
				data.src = "<?php echo $goodsData['images'][0][0]?>";
				data.marketprice = <?php echo $goodsData['marketprice']?>;
				data.number = <?php echo $goodsData['gnumber']?>;
				data.bid = <?php echo $brandData['bid']?>;
					$.ajax({
						type:"post",
						url:"<?php echo U('Content/getShop')?>",
						data:{data},
						dataType:'text',
						success:function(phpData){
							console.log(phpData);
							if(phpData == 1){
								location.href="<?php echo U('Cart/index')?>"
							}
						}
					});
				}
			})
		</script>
		
		
		</div>
	<!-- 商品展示区域 end  -->
	<!-- 商品详情 begin  -->
	<div id="all_tab_panel_box">
		
		<!-- 左侧区域 begin-->
		<div class="aside">
			<div class="abox">
				<h3>相关分类</h3>
				<ul>
					<?php foreach ($cateData as $v){?>
						<li>
							<a href="JavaScript:;"><?php echo $v['cname']?></a>
						</li>
					<?php }?>
				</ul>
			</div>

			<div class="abox abox_f3">
				<h3>推广商品</h3>
				<ul>
					<?php foreach ($goods as $v){?>
					<li>
						<a href="<?php echo U('Content/index',array("aid"=>$v['aid'],'bid'=>$v['brand_bid'],'cid'=>$_GET['cid']))?>"><img src="<?php echo $v['pic']?>" alt=""  style="width: 150px;height: 150px;"/><?php echo $v['shopname']?></a>

							<p class="reds"><?php echo $brandData['bname']?></p>

						<p class="d_price">¥<?php echo $v['shopprice']?></p>
					</li>
					<?php }?>
					
				</ul>
			</div>
		</div>
		<!-- 左侧区域end -->

		 <!-- 商品详情 begin  -->
		<div class="all_tab_panel">
			<div class="all_tab_div">
				<div class="tab_top" style="border: none;">
					<a href="" class="xiangqing">商品详情</a>
				</div>
			</div>
			<div class="foursort_style">
				<ul class="foursort_style_frame">
					<li>
							<span>品牌：</span>
							<a href=""><?php echo $brandData['bname']?></a>
						</li>
					<?php foreach ($goodsAttrData as $v){?>
						<li>
							<span><?php echo $v['taname']?>：</span>
							<a href=""><?php echo $v['gtvalue']?></a>
						</li>
					<?php }?>

				</ul>
			</div>
			<div class="foursort_img" style="border: 1px solid #E9E9E9;">
				<div style="background: #F5F5F5;height: 30px;color: #404040;line-height:30px;font-weight:bold;padding-left:17px;font-size: 12px;">
					详情
				</div>
				<div style="margin-top: 30px;margin-left: 30px;"><?php echo $goodsData['intro']?></div>
				
			</div>
			
			<div class="all_tab_div" style="background: #EFEFEF;">
				<div class="tab_top" style="border: none;margin-top: 10px;">
					<a href="JavaScript:;">商品评论</a>
				</div>
				<div style="width: 988px;height: auto;float: left;">
					
<!-- 多说评论框 start -->
	<div class="ds-thread" data-thread-key="<?php echo $goodsData['aid']?>" data-title="<?php echo $goodsData['shopname']?>" data-url="<?php echo U('Content/index',array('aid'=>$goodsData['aid']))?>"></div>
<!-- 多说评论框 end -->
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"dangdangshop"};
	(function() {
		var ds = document.createElement('script');
		ds.type = 'text/javascript';ds.async = true;
		ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
		ds.charset = 'UTF-8';
		(document.getElementsByTagName('head')[0] 
		 || document.getElementsByTagName('body')[0]).appendChild(ds);
	})();
	</script>
<!-- 多说公共JS代码 end -->
		
				</div>
			</div>


		</div>
		 <!-- 商品详情 end -->

	</div>




	<!-- 商品详情 end -->

		 <!--公共尾部-->
		<!--页尾-->
		<div id="footer">
			<div class="footer_box">
				<a href="JavaScript:;" class="footer_pic">
					<span class="footer_pic_one"></span>
				</a>
				<a href="JavaScript:;" class="footer_pic">
					<span class="footer_pic_two"></span>
				</a>
				<a href="JavaScript:;" class="footer_pic">
					<span class="footer_pic_three"></span>
				</a>
				<a href="JavaScript:;" class="footer_pic">
					<span class="footer_pic_four"></span>
				</a>
			</div>
		</div>
		<!--购物指南-->
				<!--页尾 开始 -->

		<style type="text/css">.public_footer_box {
	width: 100%;
	margin: 0 auto;
	font: 12px "\5b8b\4f53", Arial, Helvetica, sans-serif;
	clear: both;
}

.public_footer {
	margin: 0 auto;
	width: 950px;
	padding: 32px 5px 0;
	font: 12px;
	color: #666;
	overflow: hidden;
}

.public_footer a {
	color: #666!important;
	text-decoration: none;
	font-size: 12px;
}

.public_footer a:hover {
	color: #f60!important;
	text-decoration: underline;
}

.public_footer .sep {
	display: inline-block;
	padding: 0 18px;
}

.public_footer .footer_copyright {
	padding-left: 168px;
	margin: 0 auto;
	width: 792px;
}

.public_footer .footer_copyright span {
	float: left;
	display: inline
}

.public_footer .footer_copyright span {
	padding-top: 10px;
}

.public_footer .footer_copyright a {
	padding-right: 4px;
}

.public_footer .footer_icon {
	margin: 10px 0 0 335px;
	width: 300px;
	height: 57px;
}

.public_footer .validator,
.public_footer .knet {
	float: left;
	display: inline;
	padding: 0 5px;
	width: 135px;
	height: 47px;
	margin-top: 30px;
}</style>

		<div class="public_footer_box">
			<div class="public_footer">
				<div class="footer_copyright">
					<span>Copyright (C) 当当网 2014-2016, All Rights Reserved</span><span class="sep">|</span><span>京ICP证1686692号</span><span class="sep">|</span><span>站长邮箱：1686692766@qq.com</span>
				</div>
				<div class="footer_icon">
					<div class="validator">
						<span class="footer_img">
						<img src="./Public/Home/images/1.gif">
						</span>
					</div>
					<div class="knet">
						<span class="footer_img">
						<img src="./Public/Home/images/2.png">
						</span>
					</div>
				</div>
			</div>
		</div>
		
		

	</body>
</html>
